#include <iostream>

using namespace std;

int main(int agrc, char* argv[], char* envp[]) {
    cout << "命令行参数开始：\n";
    for(int i = 0; argv[i]; ++i) {
        cout << argv[i] << endl;
    }
    cout << "命令行参数结束\n";
    cout << "环境变量开始\n";
    for(int i = 0; envp[i]; ++i) {
        cout << envp[i] << endl;
    }
    cout << "环境变量结束\n";
    return 0;
}
